'''
user
This is the mapping from table 'users' from database 'weibo' to object.
'''

class User:
    __uid = ''
    __name = ''
    __location = ''
    __gender = 0
    __vertified = 0
    __preserved = None

    def setUid(uid):
        self.__uid = uid

    def setName(name):
        self.__name = name

    def setLocation(loc):
        self.__location = loc

    def setGender(gender):
        self.__gender = gender

    def setVertified(ver):
        self.__vertified = ver

    def setPreserved(preserved):
        self.__preserved = preserved

    def getTuple():
        return (self.__uid, self.__name, self.__location, self.__gender, self.__vertified)
    
